import * as THREE from "three"
import { RGBELoader } from "three/examples/jsm/loaders/RGBELoader"


// 初始化场景
const scene = new THREE.Scene()

// 场景天空盒子
const textureCubeLoader = new THREE.CubeTextureLoader().setPath("./textures/")
const textures = ["1.jpg", "2.jpg",  "3.jpg",  "4.jpg",  "5.jpg",  "6.jpg"]

const textureCube = textureCubeLoader.load(textures)
scene.background = textureCube
scene.environment = textureCube

export default scene
